#ifndef MY_AT89S52_H
#define MY_AT89S52_H

#include <AT89x52.h>


typedef unsigned char uchar;
typedef unsigned int uint;
typedef unsigned long ulong;


void delay(uchar time);




uchar key_scan(void);


uchar key_not_pressed(uchar key);




void led_print_hex(ulong num);


void led_print_dec(ulong num);


void led_scan();

#endif
